package com.xbongbong.saas.domain.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author leex
 **/
@Getter
@Setter
@ToString
public class SharePermissionSetUserEntity implements Serializable {

    private static final long serialVersionUID = -5418610435772223484L;

    /**
     * id
     */
    private Long id;
    /**
     * 公司id
     */
    private String corpid;
    /**
     * 应用id
     */
    private Long appId;
    /**
     * 共享权限规则id
     */
    private Long shareRuleId;
    /**
     * 共享表单id
     */
    private Long formId;
    /**
     * 授权用户id
     */
    private String userId;
    /**
     * 添加时间
     */
    private Long addTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 删除标志
     */
    private Integer del;

    public SharePermissionSetUserEntity() {
    }

    public SharePermissionSetUserEntity(Long id, String corpid, Long appId, Long shareRuleId, Long formId, String userId, Integer del) {
        this.id = id;
        this.corpid = corpid;
        this.appId = appId;
        this.shareRuleId = shareRuleId;
        this.formId = formId;
        this.userId = userId;
        this.del = del;
    }
}
